package hrc.tool.converter.xml;

import hrc.tool.converter.AbstractConvert;
import hrc.tool.converter.ConvertException;
import hrc.tool.converter.Formatter;

public class XmlConvert extends AbstractConvert {

	@Override
	protected Formatter createFormatter(String name, boolean root) throws ConvertException {
		return new XmlSingleFormatter(name, root);
	}

	@Override
	protected Formatter createMultiFormatter(String name, boolean root) throws ConvertException {
		return new XmlMultiFormatter(name, root);
	}

}
